/* Global Styles */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Open Sans", sans-serif;
  color: white;
  background: linear-gradient(
    23deg,
    rgba(0, 0, 0, 1) 37%,
    rgba(0, 129, 222, 1) 73%,
    rgba(0, 129, 222, 0.975) 100%
  );
  overflow-x: hidden;
}

/* Container */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  position: relative;
  /* overflow: hidden; */
}

/* Hero Section */
.hero {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
  background-color: rgba(0, 48, 90, 0.4);
  /* padding: 2rem; */
  border-radius: 10px;
  backdrop-filter: blur(5px);
  /* margin: 2rem; */
}

h1 {
  font-family: "Merriweather", serif;
  font-size: 4rem;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Play Button */
.play-button {
  margin-top: 1rem;
  width: 80px;
  height: 80px;
  border: 3px solid white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button::after {
  color: white;
  content: "▶";
  font-size: 2rem;
}

.play-button:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Underwater Elements */
.underwater-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.4)
  );
  animation: rise 15s infinite ease-in;
}

@keyframes rise {
  0% {
    transform: translateY(100%) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100%) scale(1);
    opacity: 0;
  }
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(0, 48, 90, 0.6);
  position: relative;
  z-index: 2;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(78, 205, 196, 0.7);
  display: flex;
  align-items: center;
}

.logo1 {
  /* border-radius: 50%; */
  margin-right: 10px;
}

.nav-items {
  display: flex;
  gap: 2rem;
}

.nav-item {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.nav-item:hover {
  color: #4ecdc4;
  text-shadow: 0 0 10px rgba(78, 205, 196, 0.7);
}

.nav-items a.nav-item {
  color: white;
  text-decoration: none;
}

.nav-items a.nav-item:hover {
  color: #4ecdc4;
  text-shadow: 0 0 10px rgba(78, 205, 196, 0.7);
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(0, 48, 90, 0.9);
  padding: 0.5rem;
  border-radius: 4px;
  min-width: 120px;
}

.nav-item:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 0.5rem;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.dropdown a:hover {
  background-color: rgba(78, 205, 196, 0.2);
}

/* Sign-in Button */
.signin-button {
  background-color: #4ecdc4;
  color: #00305a;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: bold;
}

.signin-button:hover {
  background-color: #45b7aa;
  box-shadow: 0 0 15px rgba(78, 205, 196, 0.7);
}

/* Fish Animation */
.fish {
  position: absolute;
  pointer-events: none;
  animation: swim 30s linear infinite;
  /* z-index: 1; */
}

@keyframes swim {
  0% {
    transform: translateX(-100%) translateY(0) rotate(0deg);
  }
  50% {
    transform: translateX(50vw) translateY(-20vh) rotate(10deg);
  }
  100% {
    transform: translateX(100vw) translateY(0) rotate(0deg);
  }
}

/* Seaweed Animation */
.seaweed {
  position: absolute;
  bottom: 0;
  animation: sway 5s ease-in-out infinite;
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

/* Carousel */
.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-inner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-inner img.active {
  opacity: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* Place it behind other elements */
  opacity: 0.8; /* Optional: for visual effect */
}
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.background-video-hero {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

/* .title {
  font-family: "Norican", cursive;
  font-size: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-top: 0;
} */
